/**
	North region of the main viewport. Contains main toolbar.
 */
Ext.define('WEB.view.main.North', {
    extend: 'Ext.panel.Panel',
    alias: 'widget.mainnorth',
	autoHeight: false,
	height: 27,
	border: false,
	margins: '0 0 5 0',

	tbar: [/*{
		xtype: 'tbtext',
		text: '@Budget',
		cls: 'atb-toolbar-logo'
	},*/' ','-',' ', {
		text: 'Manage',
		menu: [{
			text: 'Accounts',
			action: 'manageaccounts',
			icon: 'resources/css/custom/img/account16x16.png'
		}, {
			text: 'Currencies',
			action: 'managecurrencies',
			icon: 'resources/css/custom/img/currency16x16.png'
		}, {
			text: 'Categories',
			action: 'managecategories',
			icon: 'resources/css/custom/img/categories16x16.png'
		}, {
			text: 'Payees',
			action: 'managepayees',
			icon: 'resources/css/custom/img/payees16x16.png'
		}]
	}, {
		text: 'Preferences',
		action: 'preferences',
	},'->', {
		text: 'Help',
		action: 'help',
	}],
	border: false,

    initComponent: function() {
        this.callParent(arguments);
	}
});